package global

import (
	"gitee.com/hangzhou_huitian/ht-basic/swcron"
	"gorm.io/gorm"
)

type XConfig struct {
	swcron.Config `toml:"sw-cron"`
	HttpPort      uint16
	OpenHttpLog   bool
	Hospital      string
	DBServer      string
	CollectorAddr string
}

var (
	Conf *XConfig
	DB   *gorm.DB
)
